import 'package:fish_redux/fish_redux.dart';

enum WebViewAction { action, onBack, onRefresh, onSearch }

class WebViewActionCreator {
  static Action onAction() {
    return const Action(WebViewAction.action);
  }

  static Action onBack() {
    return const Action(WebViewAction.onBack);
  }

  static Action onRefresh() {
    return const Action(WebViewAction.onRefresh);
  }

  static Action onSearch() {
    return const Action(WebViewAction.onSearch);
  }
}
